projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e686fc2
)
* nsterm.m (fd_handler:): Alloc and release a NSAutoreleasePool in
author
Jan D.
<jan.h.d@swipnet.se>
Tue, 21 Aug 2012 20:50:31 +0000
(22:50 +0200)
committer
Jan D.
<jan.h.d@swipnet.se>
Tue, 21 Aug 2012 20:50:31 +0000
(22:50 +0200)
the loop.
src/ChangeLog
patch
|
blob
|
history
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 74c2ebc2963bbf4a08b99b04f01f1eed602ae346..03155c9890ddde6217c6e8b693ec00b89aa52fac 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2012-08-21 Jan Djärv <jan.h.d@swipnet.se>
+
+ * nsterm.m (fd_handler:): Alloc and release a NSAutoreleasePool in
+ the loop (Bug#12247).
+
2012-08-21 Paul Eggert <eggert@cs.ucla.edu>
* lisp.h (vcopy): Use memcpy rather than our own loop.
diff --git
a/src/nsterm.m
b/src/nsterm.m
index 3ab9358467aa88479268e166aefdd56f541c091d..12ca52684e6a124716e0779e6fe8d6aa32525020 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-4600,11
+4600,15
@@
not_in_argv (NSString *arg)
SELECT_TYPE readfds, writefds, *wfds;
EMACS_TIME timeout, *tmo;
+ NSAutoreleasePool *pool = nil;
/* NSTRACE (fd_handler); */
for (;;)
{
+ [pool release];
+ pool = [[NSAutoreleasePool alloc] init];
+
if (waiting)
{
SELECT_TYPE fds;